<template>
	<view class="user-box">
		<view class="user-center">
			

			<view class="flex justify-between align-center h109 u-border-bottom" @click="auth">
				<view class="f28 flex align-center" style="color: #333333;">
					<image src="../../../static/img/anq.png" class="w36 h36 mr18" mode=""></image>
					<text style="color: #000000; font-weight: 500;">身份认证</text>
				</view>
				<view class="f28 flex align-center" style="color: #333333;">
					<i class="cuIcon-right ml19 f35 " style="color: #999999;"></i>
				</view>
			</view>


			<view class="flex justify-between align-center h109 u-border-bottom"
				@click="l.to('/pages/me/set/charge')">
				<view class="f28 flex align-center" style="color: #333333;">
					<image src="../../../static/img/setlist.png" class="w36 h36 mr18" mode=""></image>
					<text style="color: #000000; font-weight: 500;">收费设置</text>
				</view>
				<view class="f28 flex align-center" style="color: #333333;">
					<i class="cuIcon-right ml19 f35 " style="color: #999999;"></i>
				</view>
			</view>


			<!-- <view class="flex justify-between align-center h109 u-border-bottom" @click="showAge = true">
				<view class="f28 flex align-center" style="color: #333333;">
					<image src="../../../static/img/mingdan.png" class="w36 h36 mr18" mode=""></image>
					<text style="color: #000000; font-weight: 500;">黑名单</text>
				</view>
				<view class="f28 flex align-center" style="color: #333333;">
					<i class="cuIcon-right ml19 f35 " style="color: #999999;"></i>
				</view>
			</view> -->
			
			
			<view class="flex justify-between align-center h109 u-border-bottom" @click="l.to('/pages/me/set/feedback')">
				<view class="f28 flex align-center" style="color: #333333;">
					<image src="../../../static/img/issue.png" class="w36 h36 mr18" mode=""></image>
					<text style="color: #000000; font-weight: 500;">意见反馈</text>
				</view>
				<view class="f28 flex align-center" style="color: #333333;">
					<i class="cuIcon-right ml19 f35 " style="color: #999999;"></i>
				</view>
			</view>


			
			<view class="flex justify-between align-center h109 " @click="showAge = true">
				<view class="f28 flex align-center" style="color: #333333;">
					<image src="../../../static/img/gx.png" class="w36 h36 mr18" mode=""></image>
					<text style="color: #000000; font-weight: 500;">版本更新</text>
				</view>
				<view class="f26 " style="color: #999999;">
					当前版本 V1.2.8
				</view>
			</view>


			<view class="mt156 f30">
				<button type="default"
					class="h80 r40 cu-btn w690"
					style="color: #FFFFFF;
					background-color: #000000;"
					@click="removeUserInfo">
					退出账号
				</button>
			</view>
		
		</view>


		

		<view class="foot_box"></view>
		<!-- 加载提示 -->
		<yy-loading text="加载中.." mask="true" click="true" ref="loading"></yy-loading>
		<!-- 信息提示-->
		<u-toast ref="uToast" />
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		onShow() {},
		onLoad(e) {},
		methods: {
			removeUserInfo() {
				this.l.to('/pages/register/login')
			},
			
			auth() {
				var auth = uni.getStorageSync('isAuto').isAuth
				
				if (auth == 0) {
					this.l.to('/pages/register/video')
				} else {
					this.l.msgg('你已认证!')
				}
			}
		}
	};
</script>

<style lang="scss" scoped>
	.user-box {

		.user-center {
			padding: 0 30rpx;
		}
		
		.add-border {
			border-radius: 40rpx;
			padding: 18rpx 46rpx;
			border: 3rpx solid #40C6A8;
		}
		
		.bgc-red {
			color: #1F1F1F;
			font-size: 26rpx;
			margin-right: 57rpx;
			padding: 20rpx 50rpx;
			background-color: #F5F5F5;
			border-radius: 10rpx;
		}
	}
</style>
